Source: https://www.vtk.org/
Upstream-Name: Visualization Toolkit
Files-Excluded:
- Web/*
- Examples/GUI/Win32
ThirdParty/doubleconversion/vtkdoubleconversion
+ ThirdParty/eigen/vtkeigen
ThirdParty/expat/vtkexpat
+ ThirdParty/fides
ThirdParty/freetype/vtkfreetype
ThirdParty/gl2ps/vtkgl2ps
ThirdParty/hdf5/vtkhdf5
ThirdParty/libxml2/vtklibxml2
ThirdParty/lz4/vtklz4
ThirdParty/lzma/vtklzma
+ ThirdParty/mpi4py
ThirdParty/netcdf/vtknetcdf
+ ThirdParty/nlohmannjson/vtknlohmannjson
+ ThirdParty/ogg/vtkogg
ThirdParty/png/vtkpng
ThirdParty/sqlite/vtksqlite
+ ThirdParty/theora/vtktheora
ThirdParty/tiff/vtktiff
- ThirdParty/zlib/vtkzlib
- ThirdParty/glew/vtkglew
ThirdParty/utf8/vtkutf8
- ThirdParty/mpi4py
ThirdParty/xdmf3
- ThirdParty/ogg/vtkogg
- ThirdParty/theora/vtktheora
- ThirdParty/eigen/vtkeigen
- ThirdParty/fides
+ ThirdParty/zlib/vtkzlib
+ Web
Files: *
Copyright: 1993-2015 Ken Martin, Will Schroeder, Bill Lorensen,
Files: Common/DataModel/vtkDistributedGraphHelper.cxx
Common/DataModel/vtkDistributedGraphHelper.h
Copyright: Ken Martin, Will Schroeder, Bill Lorensen
-License: BSL-1
+License: BSL-1.0
Files: Examples/Android/NativeVTK/*
Copyright: 2010, The Android Open Source Project
-License: Apache-2
+License: Apache-2.0
Files: Filters/General/vtkTemporalPathLineFilter.cxx
Copyright: CSCS - Swiss National Supercomputing Centre.
Files: Interaction/Widgets/Testing/Cxx/*
Copyright: Ken Martin, Will Schroeder, Bill Lorensen
-License: Apache-2
+License: Apache-2.0
Files: ThirdParty/diy2/vtkdiy2/*
-Copyright: 2016-2018, Chobolabs Inc.
-License: BSD-3-clause
+Copyright: 2015, The Regents of the University of California, through
+ Lawrence Berkeley National Laboratory
+License: BSD-3-clause-LBNL
-Files: ThirdParty/diy2/vtkdiy2/include/vtkdiy2/fmt/*
+Files: ThirdParty/diy2/vtkdiy2/include/vtkdiy2/thirdparty/fmt/*
Copyright: 2012-2016, Victor Zverovich
License: BSD-like
Permission is hereby granted, free of charge, to any person obtaining
source code, you may redistribute such embedded portions in such object form
without including the above copyright and permission notices.
+Files: ThirdParty/diy2/vtkdiy2/include/vtkdiy2/thirdparty/itlib/*
+Copyright:
+ 2016-2018 Chobolabs Inc.
+ 2020-2022 Borislav Stanimirov
+License: MIT
+
+Files: ThirdParty/diy2/vtkdiy2/include/vtkdiy2/thirdparty/thread/*
+Copyright: 2010-2012 Marcus Geelnard
+License: Zlib
+
+Files:
+ ThirdParty/glad/vtkglad/include/EGL/eglplatform.h
+ ThirdParty/glad/vtkglad/include/KHR/khrplatform.h
+Copyright: 2007-2020 The Khronos Group Inc.
+License: Apache-2.0
+
+Files:
+ ThirdParty/glad/vtkglad/include/glad/*
+ ThirdParty/glad/vtkglad/src/*
+Copyright: 2013-2020 David Herberth
+License: MIT
+
Files: ThirdParty/kissfft/vtkkissfft/*
Copyright: 2003-2010, Mark Borgerding .
License: BSD-3-clause
Copyright: 2006-2016, Arseny Kapoulkine
License: Expat
+Files: ThirdParty/scn/vtkscn/*
+Copyright: 2017 Elias Kosunen
+License: Apache-2.0
+
+Files: ThirdParty/scn/vtkscn/include/vtkscn/scan.h
+Copyright: 2017 Elias Kosunen
+ 2018 Tristan Brindle
+License: Apache-2.0 AND BSL-1.0
+
+Files: ThirdParty/token/vtktoken/*
+Copyright: 2020-2023, Kitware, Inc.
+License: BSD-3-clause
+
Files: ThirdParty/vpic/*
Copyright: 2007, Los Alamos National Security, LLC
License: BSD-3-clause
Copyright: 1984, 1989, 1990, 2000-2003, Free Software Foundation, Inc.
License: GPL-2+
-Files: ThirdParty/zfp/vtkzfp/*
-Copyright: 2014-2019, Lawrence Livermore National Security, LLC.
-License: BSD-3-clause-notice
-
Files: Utilities/DICOMParser/*
Copyright: 2003, Matt Turek
License: BSD-3-clause
Files: Utilities/Maintenance/*
Copyright: Insight Software Consortium
-License: Apache-2
+License: Apache-2.0
Files: Utilities/MetaIO/*
Copyright: 2000-2011, Insight Software Consortium
-License: Apache-2
+License: Apache-2.0
Files: ThirdParty/cli11/*
Copyright: 2017-2019 University of Cincinnati, developed by Henry
Copyright: 2006-2009, The Regents of the University of California
License: BSD-3-clause-notice-2
-Files: ThirdParty/fast_float/vtkfast_fload/*
+Files: ThirdParty/fast_float/vtkfast_float/*
Copyright: 2021, fast_float authors
License: Expat
That being said, I would appreciate credit! If you find Loguru useful, tweet me
at @ernerfeldt mail me at emil.ernerfeldt@gmail.com.
+Files: ThirdParty/viskores/vtkviskores/*
+Copyright: 2025 Kitware Inc.,
+ National Technology & Engineering Solutions of Sandia, LLC (NTESS),
+ UT-Battelle, LLC.,
+ Los Alamos National Security, LLC.
+License: Viskores-1.0
+ Viskores License Version 1.0
+ Under the terms of Contract DE-NA0003525 with NTESS, the U.S. Government
+ retains certain rights in this software.
+ .
+ Under the terms of Contract DE-AC52-06NA25396 with Los Alamos National
+ Laboratory (LANL), the U.S. Government retains certain rights in
+ this software.
+ .
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are
+ met:
+ .
+ * Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ .
+ * Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the
+ distribution.
+ .
+ * Neither the name of Kitware nor the names of any contributors may
+ be used to endorse or promote products derived from this software
+ without specific prior written permission.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR
+ CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
License: BSD-3-clause
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-License: BSL-1
+License: BSL-1.0
Boost Software License - Version 1.0 - August 17th, 2003
.
Permission is hereby granted, free of charge, to any person or organization
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.
-License: Apache-2
+License: Apache-2.0
On Debian systems, the full text of the Apache
License version 2 can be found in the file
- `/usr/share/common-licenses/Apache-2'.
+ `/usr/share/common-licenses/Apache-2.0'.
License: Zlib
This software is provided 'as-is', without any express or implied warranty.
other computer software, distribute, and sublicense such enhancements or
derivative works thereof, in binary and source code form.
+License: BSD-3-clause-LBNL
+ Redistribution and use in source and binary forms, with or without modification,
+ are permitted provided that the following conditions are met:
+ .
+ (1) Redistributions of source code must retain the above copyright notice, this
+ list of conditions and the following disclaimer.
+ .
+ (2) Redistributions in binary form must reproduce the above copyright notice,
+ this list of conditions and the following disclaimer in the documentation and/or
+ other materials provided with the distribution.
+ .
+ (3) Neither the name of the University of California, Lawrence Berkeley National
+ Laboratory, U.S. Dept. of Energy nor the names of its contributors may be used
+ to endorse or promote products derived from this software without specific prior
+ written permission.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
+ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ .
+ You are under no obligation whatsoever to provide any bug fixes, patches, or
+ upgrades to the features, functionality or performance of the source code
+ ("Enhancements") to anyone; however, if you choose to make your Enhancements
+ available either publicly, or directly to Lawrence Berkeley National Laboratory,
+ without imposing a separate written license agreement for such Enhancements,
+ then you hereby grant the following license: a non-exclusive, royalty-free
+ perpetual license to install, use, modify, prepare derivative works, incorporate
+ into other computer software, distribute, and sublicense such enhancements or
+ derivative works thereof, in binary and source code form.
ifeq (,$(filter $(DEB_BUILD_ARCH), $(nojava_archs))$(filter $(DEB_BUILD_ARCH_OS), $(nojava_os)))
export JAVA_HOME=/usr/lib/jvm/default-java
extra_flags += -DVTK_WRAP_JAVA=ON
+ # increase java version from 8 to 11 to remove many warnings
+ extra_flags += -DVTK_JAVA_RELEASE_VERSION:STRING=11
endif
ifneq (,$(filter $(DEB_HOST_ARCH), armel m68k mips mipsel powerpc sh4))
extra_flags += -DVTK_SMP_IMPLEMENTATION_TYPE:STRING="OpenMP"
endif
+# Work around FTBFS on Alpha (assembler error "No lda !gpdisp!")
+ifneq (,$(filter $(DEB_HOST_ARCH),alpha))
+ export DEB_CXXFLAGS_MAINT_APPEND += -O1
+endif
+
%:
dh $@ --buildsystem=cmake --builddirectory=$(BUILDDIR)
extra_flags += \
-DBUILD_SHARED_LIBS=ON \
- -DCMAKE_C_COMPILER=mpicc \
- -DCMAKE_CXX_COMPILER=mpic++ \
- -DCMAKE_EXE_LINKER_FLAGS="-Wl,--as-needed -latomic" \
- -DCMAKE_MODULE_LINKER_FLAGS="-Wl,--as-needed" \
- -DCMAKE_SHARED_LINKER_FLAGS="-Wl,--as-needed" \
- -DCMAKE_VERBOSE_MAKEFILE=ON \
-DHDF5_IS_PARALLEL=OFF \
-DVTK_BUILD_DOCUMENTATION=ON \
-DVTK_BUILD_EXAMPLES=OFF \
-DVTK_BUILD_TESTING=OFF \
-DVTK_EXTRA_COMPILER_WARNINGS=ON \
- -DVTK_GROUP_ENABLE_Qt:STRING="YES" \
-DVTK_MODULE_ENABLE_VTK_GUISupportQtSQL:STRING="NO" \
-DVTK_MODULE_ENABLE_VTK_GUISupportQtQuick:STRING="DONT_WANT" \
+ -DVTK_GROUP_ENABLE_Qt:STRING="YES" \
-DVTK_GROUP_ENABLE_Rendering:STRING="YES" \
-DVTK_GROUP_ENABLE_StandAlone:STRING="YES" \
-DVTK_GROUP_ENABLE_Views:STRING="YES" \
-DVTK_GROUP_ENABLE_Imaging:STRING="YES" \
-DVTK_MODULE_ENABLE_VTK_IOGeoJSON:STRING="YES" \
-DVTK_MODULE_ENABLE_VTK_RenderingQt:STRING="YES" \
- -DVTK_MODULE_ENABLE_VTK_RenderingTk:STRING="YES" \
+ -DVTK_MODULE_ENABLE_VTK_RenderingContextOpenGL2=YES \
-DVTK_MODULE_ENABLE_VTK_utf8:STRING="YES" \
-DVTK_MODULE_ENABLE_VTK_InteractionWidgets:STRING="YES" \
-DVTK_MODULE_ENABLE_VTK_InteractionImage:STRING="YES" \
+ -DVTK_MODULE_ENABLE_VTK_ParallelMPI:STRING="YES" \
-DVTK_MODULE_USE_EXTERNAL_VTK_doubleconversion:BOOL=ON \
-DVTK_MODULE_USE_EXTERNAL_VTK_eigen:BOOL=ON \
-DVTK_MODULE_USE_EXTERNAL_VTK_expat:BOOL=ON \
-DVTK_MODULE_USE_EXTERNAL_VTK_freetype:BOOL=ON \
-DVTK_MODULE_USE_EXTERNAL_VTK_gl2ps:BOOL=ON \
- -DVTK_MODULE_USE_EXTERNAL_VTK_glew:BOOL=ON \
-DVTK_MODULE_USE_EXTERNAL_VTK_hdf5:BOOL=ON \
-DVTK_MODULE_USE_EXTERNAL_VTK_jpeg:BOOL=ON \
-DVTK_MODULE_USE_EXTERNAL_VTK_jsoncpp:BOOL=ON \
-DVTK_MODULE_USE_EXTERNAL_VTK_libproj:BOOL=ON \
-DVTK_MODULE_USE_EXTERNAL_VTK_libxml2:BOOL=ON \
-DVTK_MODULE_USE_EXTERNAL_VTK_lz4:BOOL=ON \
- -DVTK_MODULE_USE_EXTERNAL_VTK_lzma:BOOL:BOOL=ON \
+ -DVTK_MODULE_USE_EXTERNAL_VTK_lzma:BOOL=ON \
-DVTK_MODULE_USE_EXTERNAL_VTK_netcdf:BOOL=ON \
+ -DVTK_MODULE_USE_EXTERNAL_VTK_nlohmannjson:BOOL=ON \
-DVTK_MODULE_USE_EXTERNAL_VTK_ogg:BOOL=ON \
-DVTK_MODULE_USE_EXTERNAL_VTK_png:BOOL=ON \
-DVTK_MODULE_USE_EXTERNAL_VTK_sqlite:BOOL=ON \
-DVTK_MODULE_USE_EXTERNAL_VTK_tiff:BOOL=ON \
-DVTK_MODULE_USE_EXTERNAL_VTK_utf8:BOOL=ON \
-DVTK_MODULE_USE_EXTERNAL_VTK_zlib:BOOL=ON \
- -DVTK_USE_TK=OFF \
-DVTK_WRAP_PYTHON=ON \
- -DVTK_MODULE_ENABLE_VTK_RenderingContextOpenGL2=YES \
- -DCMAKE_BUILD_TYPE=RelWithDebInfo \
- -DVTK_MODULE_ENABLE_VTK_ParallelMPI:STRING="YES" \
-DVTK_USE_MPI=ON \
- -DVTK_JAVA_SOURCE_VERSION:STRING=1.8 \
- -DVTK_JAVA_TARGET_VERSION:STRING=1.8 \
-
+ -DVTK_QT_VERSION=6
override_dh_auto_configure:
dh_auto_configure -- $(extra_flags)
# Correct headers for paraview
mv $(CURDIR)/debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/java/vtk.jar $(CURDIR)/debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/java/vtk9.jar
endif
- sed -i -e "s/FATAL_ERROR/STATUS/g" $(CURDIR)/debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/cmake/vtk-9.3/VTK-targets.cmake
+ sed -i -e "s/FATAL_ERROR/STATUS/g" $(CURDIR)/debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/cmake/vtk-9.5/VTK-targets.cmake
execute_after_dh_install:
rm -rf $(CURDIR)/debian/tmp/usr/share/licenses
find $(CURDIR)/debian/libvtk9-dev/ -name "*Qt*" -exec rm {} \; || true
find $(CURDIR)/debian/libvtk9-dev/ -name "libvtkRenderingPythonTkWidgets.so" -exec rm {} \; || true
find $(CURDIR)/debian/libvtk9-dev/usr/include/ -name "Q*" -exec rm {} \; || true
- find $(CURDIR)/debian/libvtk9.3/ -name "*Qt*" -exec rm {} \; || true
- find $(CURDIR)/debian/tmp/usr/share/doc/vtk-9.0/doxygen -name "_formulas.log" -exec rm {} \; || true
+ find $(CURDIR)/debian/libvtk9.5/ -name "*Qt*" -exec rm {} \; || true
+ find $(CURDIR)/debian/tmp/usr/share/doc/vtk-9.5/doxygen -name "_formulas.log" -exec rm {} \; || true
find $(CURDIR)/debian/build/Utilities/Doxygen/doc/html -name "_formulas.log" -exec rm {} \; || true
# Fix privacy breach